package Prototype;

/**
 * 原型模式客户端
 * Created by Garden on 2019/5/13.
 */
public class Client {

    public static void main(String[] args) {
        ProductOne productOne = new ProductOne("assemblyOne");
        System.out.println(productOne.getAssemblyOne());
        ProductOne productCloneOne = (ProductOne) productOne.clone();
        System.out.println(productCloneOne.getAssemblyOne());
    }

}
